<template>
  <div class="loading" v-loading="isLoading" :element-loading-text="title"></div>
</template>

<script>
export default {
  name: 'LoadingCom',
  components: {},
  props: {
    title: {
      type: String,
      default: '加载中',
    },
    isLoading: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
}
</script>

<style lang="scss" scoped>
.loading {
  height: 100%;
  width: 100%;
}
</style>
